<!--S 主体-->
<div class="main" id="information">
  <!--S 主页导航-->
  <%= render(:partial => "/shared/profile_nav") %>
  <!--S 表单模块-->
  <div id="user_form_info" class="mod form_info">
    <!--S TAG-->
    <div class="title bg_1">
      <div class="option_tag">
        <button class="user_info c_4 now" onfocus="this.blur()"><span>个人资料</span></button> <button class="friend_rule c_3" onclick="location.href='<%= edit_friend_condition_path(current_accounts.friendCondition) %>'"><span>交友要求</span></button> <button class="sand_img c_3" onclick="location.href='<%= new_member_avatar_path(@member) -%>'"><span>上传头像</span></button> <button class="video_check c_3" onclick="location.href='/user/user4.htm'"><span>视频认证</span></button>
        <!--当前状态调用class="c_4 now"-->
      </div>
      <div class="privacy"><button class="c_6 no_bor bt_privacy bg_1" onfocus="this.blur()" onclick="privacyPage(0)"><span>隐私设置</span></button></div>
      <div class="privacy"><button class="c_6 no_bor bt_privacy bg_1" onfocus="this.blur()" onclick="privacyPage(1)"><span>通知设置</span></button></div>
    </div>
    <!--E TAG-->
    <!--S 表单-->
    <div class="content">
      <% form_for(@member) do |f| %>
        <div class="tb_cont">
          <div class="tb_title">
            <h4 class="c_2">基本资料</h4>
          </div>
          <table cellspacing="0" cellpadding="0" border="1" class="tb_info">
            <tr>
              <th>昵　　称：</th>
              <td>
                <%=f.text_field :nick ,:maxlength => 16 ,:class => "text_size1" %><span class="c_2">（仅中英文和数字）</span>
              </td>
            </tr>
            <tr>
              <th>性　　别：</th>
              <td id="p_sex">
                <%= f.select :sex ,Member::SEX, {:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
            <tr>
              <th>出生日期：</th>
              <td>
                <span id="p_birth"> <%=f.date_select :birthday,{:start_year => 1980,:use_month_numbers => true }%> </span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="c_2">为保证社区真实性，生日性别只有一次修改机会。</span><span id="com_link"></span>
              </td>
            </tr>
            <tr>
              <th>就读学校：</th>
              <td>
                <%= f.text_field :university, :class=>"text_size1"%>
              </td>
            </tr>
            <tr>
              <th>专　　业：</th>
              <td>
                <%= f.text_field :major, :class=>"text_size1"%>
              </td>
            </tr>
            <tr>
              <th>出生时间：</th>
              <td>
                <select class="small_width" id="hour" name="hour">
                </select>
                <span class="c_2">做缘分匹配更准确</span>
              </td>
            </tr>
            <tr>
              <th>达人类型：</th>
              <td>
                <div class="check_style">
                  <p>请选择至少一项 <span class="c_2">（最多五项）</span></p>
                  <ul class="check_list" id="elitelist">
                  </ul>
                </div>
              </td>
            </tr>
          </table>
        </div>
        <div class="tb_cont">
          <div class="tb_title">
            <h4 class="c_2">详细资料</h4>
          </div>
          <table width="650" cellspacing="0" cellpadding="0" border="1" class="tb_info">
            <tr>
              <th>故　　乡：</th>
              <td>
                <%#= f.select(:hometown, get_area_select_options, {}, { "onchange" => remote_function(
                   #   :with => "'parent_id='+value",
                   #   :update => 'city',
                   #   :url => { :action => :select_with_ajax } ), :class=>"small_width" })%>
                <span class="small_width" id="city">
                </span>
                <span class="small_width" id="district">
                </span>
              </td>
            </tr>
            <tr>
              <th>血　　型：</th>
              <td>
                <%= f.select :blood, Member::BLOOD,{:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
            <tr>
              <th>身　　高：</th>
              <td>
                <%= f.select :height, Member::HEIGHT, {:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
            <tr>
              <th>体　　重：</th>
              <td>
                <%= f.select :weight, Member::WEIGHT, {:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
            <tr>
              <th>情感状态：</th>
              <td>
                <%= f.select :emotion, Member::EMOTION, {:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
            <tr>
              <th>交友类型：</th>
              <td>
                <%= f.select :intent, Member::INTENT, {:prompt => "请选择..."}, {:class=>"small_width"} %>
              </td>
            </tr>
          </table>
        </div>
        <div class="tb_cont">
          <div class="tb_title">
            <h4 class="c_2 act_info_h4">活动联系资料</h4><a name="act"></a>
          </div>
          <table width="650" cellspacing="0" cellpadding="0" border="1" class="tb_info">
            <tr>
              <td colspan="2" class="tips"><p class="c_9">以下资料默认不公开，仅由您参加兴趣活动的发起人和管理员可见，或获奖时与您联系</p></td>
            </tr>
            <tr>
              <th>真实姓名：</th>
              <td>
                <%=f.text_field :realname ,:class=>"text_size1"%><span class="c_2">（中文名字不少于2个汉字）</span>
              </td>
            </tr>
            <tr>
              <th>联系邮箱：</th>
              <td>
                <input type="text" size="20" class="text_size1" disabled="disabled" value="<%=h current_accounts.email%>"/>
              </td>
            </tr>
            <tr>
              <th>联系手机：</th>
              <td>
                <%=f.text_field :mobile ,:class=>"text_size1"%>
              </td>
            </tr>
            <tr>
              <th>QQ：</th>
              <td>
                <%=f.text_field :qq ,:class=>"text_size1"%>
              </td>
            </tr>
            <tr>
              <td colspan="2" class="btn"><button type="submit" class="bt2_2em" id="sb_btn">保存修改</button></td>
            </tr>
          </table>
        </div>
      <% end %>
    </div>
    <!--E 表单-->
  </div>
  <!--E 表单模块-->
</div>
<!--E 主体--> 